Component org.nuxeo.elasticsearch.defaultConfig
In bundle org.nuxeo.runtime
Requirements
Resolution Order
749
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime
framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.
Contributions
- org.nuxeo.elasticsearch.defaultConfig--elasticSearchEmbeddedServer
- org.nuxeo.elasticsearch.defaultConfig--elasticSearchClient
- org.nuxeo.elasticsearch.defaultConfig--elasticSearchIndex
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.elasticsearch.defaultConfig">
<require>org.nuxeo.elasticsearch.ElasticSearchComponent</require>
<extension target="org.nuxeo.elasticsearch.ElasticSearchComponent" point="elasticSearchEmbeddedServer">
<elasticSearchEmbeddedServer clusterName="nuxeoCluster" nodeName="nuxeoNode"
pathData="/var/lib/nuxeo/elasticsearch" pathLogs="/var/log/nuxeo/elasticsearch"
httpEnabled="false" networkHost="127.0.0.1" />
</extension>
<extension target="org.nuxeo.elasticsearch.ElasticSearchComponent" point="elasticSearchClient">
<elasticSearchClient class="org.nuxeo.elasticsearch.client.ESTransportClientFactory">
<option name="addressList"></option>
<option name="clusterName">nuxeoCluster</option>
<option name="clientTransportSniff">false</option>
<option name="clientTransportIgnoreClusterName">false</option>
<option name="clientTransportPingTimeout">5s</option>
<option name="clientTransportNodesSamplerInterval">5s</option>
</elasticSearchClient>
</extension>
<extension target="org.nuxeo.elasticsearch.ElasticSearchComponent"
point="elasticSearchIndex">
<elasticSearchIndex name="nuxeo" type="doc" repository="default">
<fetchFromSource>
<include>ecm:*</include>
<include>dc:*</include>
<exclude>ecm:binarytext</exclude>
</fetchFromSource>
<settings file="elasticsearch-doc-settings.json" />
<mapping file="elasticsearch-doc-mapping.json" />
</elasticSearchIndex>
</extension>
</component>